//
//  CCFriendTrendViewController.m
//  BuDeJie
//
//  Created by demoncraz on 2017/2/9.
//  Copyright © 2017年 demoncraz. All rights reserved.
//

#import "CCFriendTrendViewController.h"
#import "CCLoginViewController.h"
#import "UITextField+Placeholder.h"

@interface CCFriendTrendViewController ()

@end

@implementation CCFriendTrendViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor brownColor];
    // Do any additional setup after loading the view.
    
    [self setupNavBar];
    
}

- (void)setupNavBar {
    
    
    //添加右上角barButtonItem
    
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem barButtonItemWithImage:[UIImage imageOriginalWithName:@"friendsRecommentIcon-clickN_19x17_"] highImage:[UIImage imageOriginalWithName:@"friendsRecommentIcon-clickN_19x17_"] target:self action:@selector(recommedClick)];
    
    //添加titleView
    self.navigationItem.title = @"关注";
    
}
- (IBAction)clickLogin:(id)sender {
    CCLoginViewController *loginVc = [[CCLoginViewController alloc] init];
    [self presentViewController:loginVc animated:YES completion:nil];
    
}

- (void)recommedClick {
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
